namespace Gateway.IApplication.RequestLog.Input;

/// <summary>
/// 添加请求日志的参数
/// </summary>
public class AddRequestLogInput 
{
    /// <summary>
    /// 日志类型
    /// </summary>
    public string LogType { get; set; }

    /// <summary>
    /// 日志名称
    /// </summary>
    public string LogName { get; set; }

    /// <summary>
    /// 请求路径
    /// </summary>
    public string ApiPath { get; set; }

    /// <summary>
    /// 请求方法 http method POST GET PUT DELETE
    /// </summary>
    public string HttpMethod { get; set; }

    /// <summary>
    /// 客户端ip
    /// </summary>
    public string Ip { get; set; }

    /// <summary>
    /// 日志具体的内容
    /// </summary>
    public string Event { get; set; }

    /// <summary>
    /// 创建人标识
    /// </summary>
    public string CreatedBy { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedTime { get; set; }
    /// <summary>
    /// 创建人
    /// </summary>
    public string CreatorName { get; set; }
}